package com.PracticeSSm.service.impl;

import com.PracticeSSm.mapper.AdminLoginMapper;
import com.PracticeSSm.pojo.AdminLogin;
import com.PracticeSSm.service.AdminLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author cc
 * @date 2021/8/20 20:01
 * @Description
 */
@Service
public class AdminLoginServiceImpl implements AdminLoginService {

    @Autowired
    AdminLoginMapper adminLoginMapper;

    @Override
    public AdminLogin findadmin(AdminLogin adminLogin) {
        AdminLogin user = adminLoginMapper.findUser(adminLogin);
        return user;
    }
}
